<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%> <%@include
file="/WEB-INF/jsp/common/taglibs.jsp"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<jsp:include page="/WEB-INF/jsp/common/style.jsp"></jsp:include>
</head>
<body>

	<div class="easyui-panel" title="&nbsp;" style="width: 500px">
		<div style="padding: 10px 60px 20px 60px">
			<form id="areaForm" method="post">
				<input type="hidden" id="areaId" name="areaId">
				<table cellpadding="5">
					   
					<tr>
						<td align="right">大区编码:</td> 
						 						<td><input class="easyui-validatebox textbox" type="text"
							id="areaCode" name="areaCode"
							data-options="required:true,validType:['maxLength[20]']"></input></td>
 
					</tr>
					  
					<tr>
						<td align="right">大区名称:</td> 
						 						<td><input class="easyui-validatebox textbox" type="text"
							id="areaName" name="areaName"
							data-options="required:true,validType:['maxLength[20]']"></input></td>
 
					</tr>
					  
					<tr>
						<td align="right">是否显示:</td> 
						 						<td><input class="easyui-validatebox textbox" type="text"
							id="display" name="display"
							data-options="required:true,validType:['digit']"></input></td>
 
					</tr>
					 

				</table>
			</form>
			<div style="text-align: center; padding: 5px">
				<a href="javascript:void(0)" id="submitForm"
					class="easyui-linkbutton" onclick="submitForm_edit();">提交</a>
			</div>
		</div>
	</div>

	<script type="text/javascript"
		src="${resRoot}/js/area/areaEdit.js"></script>
	<script>
		$(document).ready(function(){
			<c:if test="${!empty areaId}">
				var areaId='${areaId}';
				$.formLoad('areaForm',contextPath+'/area/getAreaById.json?areaId='+areaId,function(data){
					
				});
			</c:if>
		});
	</script>
</body>
</html>